package it.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import it.service.HelloService;
import org.springframework.transaction.annotation.Transactional;

@Service(interfaceClass = HelloService.class)    //注解需要用ali包下的Service注解
@Transactional
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(String name) {
        return "8083hello " + name;
    }
}
